class Transportadora < ActiveRecord::Base
  has_many :transportes

  validates_presence_of :nome
  validates_uniqueness_of :nome

  def to_label
    "#{self.nome}"
  end
end
